﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnalisisDeRiesgosConfiguration.DataAccess
{
    class DatabaseConnectionString
    {
        public string ConnectionStringMySQL { get; set; }
        public string ConnectionStringDB { get; set; }

        public DatabaseConnectionString(string rootPassword, string url)
        {
            ConnectionStringMySQL = String.Format("Server={0};Uid=root;Pwd={1};Database=mysql", url, rootPassword);
            ConnectionStringDB = String.Format("Server={0};Uid=root;Pwd={1};Database={2}", url, rootPassword, "riskanalysis");
        }
    }
}
